home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / sndoff15.zip / DELAY.DOC < prev    next >
Text File  |  1992-08-18  |  636b  |  30 lines

  1. You can use DELAY.EXE to insert timed pauses
  2. into batch files.
  3.  
  4. A max delay time can be inserted after DELAY, in tenths of a second.
  5. Such as DELAY 10 = 1 sec. pause
  6.  
  7. Pressing Esc will abort delay and return an errorcode of 99 for
  8. batch file errorlevel checking.
  9.  
  10. Minumum value is DELAY 1
  11. Maximum value is DELAY 32767  (about 9 hours)
  12.  
  13. DELAY with no time number will delay 1 second.
  14.  
  15. Example:
  16.  
  17. echo off
  18. :Begin
  19. echo  This is a test
  20. soundoff 400 200 10 10
  21. delay 5
  22. echo  Still Testing......
  23. dir/w
  24. delay 10
  25. if errorlevel 99 goto Done
  26. GOTO Begin
  27. :Done
  28.  
  29. You are welcome to use and distribute DELAY with your work.
  30.